package com.drugmanage.service;

import com.drugmanage.entity.Drug;
import com.drugmanage.query.DrugQuery;

import java.util.Map;

public interface IDrugService {

    Drug queryById(Integer id);

    void insertDrug(Drug drug);

    void updateDrug(Drug drug);

    void deleteDrug(Integer drugId);

    Map<String,Object> queryForPage(DrugQuery drugQuery);

    void deleteDrugs(Integer[] ids);
}
